﻿using Model.EntityModel.Auth;

namespace Repository.IRepository.ISysRepository
{
    public interface IDeptGroupRepository : IBaseRepository<DeptGroup>
    {
        List<DeptGroup> GetDeptGroups(string deptId);
        bool AddGroupsToDept(string deptId, List<string> groupIds);
        bool RemoveGroupsFromDept(string deptId, List<string> groupIds);
        bool UpdateDeptGroupStatus(string relationId, string isActive);
        bool DeptGroupExists(string deptId, string groupId);
        List<Group> GetAvailableGroupsForDept(string deptId);
    }
}
